package com.ocom.srvpamh.feignclient;

import com.ocom.common.constant.ExposeApiUrl;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "exposeapi")
public interface ExposeApiFeignService {

    @PostMapping(ExposeApiUrl.URL_InsideApi_FangYi)
    Result insideFangYi(@RequestParam("type") Integer type,@RequestParam("companyId") Integer  companyId,@RequestParam("identity")  String identity,@RequestParam("name")  String name);
}
